package Message;

public class DateTime {
	private int year;
	private int month;
	private int day;
	private int hour;
	private int minute;
	private int second;
	private int milisecond;
	
	public DateTime() {
		
	}

    public DateTime(int year, int month, int day) {
		this.year = year;
		this.month = month;
		this.day = day;
		this.hour = 0;
		this.minute = 0;
		this.second = 0;
		this.milisecond = 0;
	}

    public DateTime(int year, int month, int day, int hour, int minute, int second) {
		this.year = year;
		this.month = month;
		this.day = day;
		this.hour = hour;
		this.minute = minute;
		this.second = second;
		this.milisecond = 0;
	}

    public DateTime(int year, int month, int day, int hour, int minute, int second, int milisecond) {
		this.year = year;
		this.month = month;
		this.day = day;
		this.hour = hour;
		this.minute = minute;
		this.second = second;
		this.milisecond = milisecond;
	}


	public int getYear() {
		return year;
	}

	public void setYear(int year) {
		this.year = year;
	}

	public int getMonth() {
		return month;
	}

	public void setMonth(int month) {
		this.month = month;
	}

	public int getDay() {
		return day;
	}

	public void setDay(int day) {
		this.day = day;
	}

	public int getHour() {
		return hour;
	}

	public void setHour(int hour) {
		this.hour = hour;
	}

	public int getMinute() {
		return minute;
	}

	public void setMinute(int minute) {
		this.minute = minute;
	}

	public int getSecond() {
		return second;
	}

	public void setSecond(int second) {
		this.second = second;
	}

	public int getMilisecond() {
		return milisecond;
	}

	public void setMilisecond(int milisecond) {
		this.milisecond = milisecond;
	}

}
